export interface loginState {
  token?: string
}

export interface mainState {
  menuList?: any[]
  perm?: any[]
  menuMenuOptions?: any[]
  permMenuOptions?: any[]
  rolesOptions?: any[]
  permTree: any[]
  rolePerm: any[]
}

export interface systemState {
  // menuInfo: any[]
  // menuPagination: Object
  // permInfo: any[]
  // permPagination: Object  //报错
  menuInfo: any
  menuPagination: any
  permInfo: any
  permPagination: any
  roleInfo: any
  rolePagination: any
  userInfo: any
  userPagination: any
}

export interface account {
  username: string
  password: string
}

export interface loginResult {
  token: string
  message: string
}
